package com.buddies.lottery.data.api;

import com.buddies.lottery.data.resp.IMTokenResponse;
import com.buddies.lottery.data.result.ApiResult;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.POST;

public interface IMApi {

    /* 获取信息列表 */
    @FormUrlEncoded
    @POST("user/im/token")
    Observable<ApiResult<IMTokenResponse>> getIMToken(@Field("uid") long uid, @Field("imtoken") String imToken);

}
